package com.mbti.youmore.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_like
 */
@TableName(value ="t_like")
@Data
public class Like implements Serializable {
    /**
     * 帖子ID
     */
    private Integer postId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 
     */
    @TableId
    private Integer id;

    /**
     * 点赞时间
     */
    private Date likeDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}